package Router

import (
	"Demo03/part17/external"
	"Demo03/part17/kill"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {
	//划分模块路由
	k := r.Group("/kill") //支票模块的分组

	//路由组中间件调用函数
	//k.Use(middleware.Middleware01)

	e := r.Group("/external") //第三方工具的分组

	//调用模块路由
	kill.Router(k)
	external.Router(e)

}
